import React from 'react'
import { Children } from 'react'

const Button = ({onClickButton,children}) => {

  return (
    <>
      <button onClick={onClickButton}>{children}</button>
      <span>{Math.random()}</span>
      {/* {count && <span>count:{count}</span>} */}
    </>
  )
}

export default React.memo(Button);